/*
 *  CS202 - Spring 2009">
 *  Professor: Dr. Michael Peterson">
 *  Student: Deylo Woo (dwoo711@gmail.com) ">
 */
package project_4;

import javax.swing.*;
import java.awt.*;

public class MenuPanel extends JPanel {

    JLabel _scoreLbl = new JLabel();

    public MenuPanel() {

        _scoreLbl.setForeground(Color.WHITE);
        _scoreLbl.setText("This is the Label.");

        this.add(_scoreLbl);
        this.setBackground(Color.BLACK);
    }

    public void setScore(String score) {
        _scoreLbl.setText(score);
    }
}
